package com.eva.cms.biz.category.vo;

import com.eva.service.cms.vo.BaseCmsCategoryNode;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("栏目节点视图")
public class CmsCategoryNodeVO extends BaseCmsCategoryNode {

    @ApiModelProperty(value="栏目配置")
    private String config;

    @JsonIgnore
    @ApiModelProperty(value="模板ID")
    private Integer templateId;

    @JsonIgnore
    @ApiModelProperty(value="模板参数")
    private String templateParameters;

    @JsonIgnore
    public Integer getId () {
        return super.getId();
    }

    @JsonIgnore
    public Integer getParentId () {
        return super.getParentId();
    }
}
